<template>
    <div class="page-container">
        <a-tabs v-model="active">
            <a-tab-pane tab="订单" key="1">
                <order-list :rider="rider" v-if="active==='1'"></order-list>
            </a-tab-pane>
            <a-tab-pane tab="佣金对账单" key="2">
                <bill-list :rider="rider" v-if="active==='2'"></bill-list>
            </a-tab-pane>
        </a-tabs>
    </div>
</template>
<script>
    import {OrderList,BillList} from "./index";

    export default {
        components:{OrderList,BillList},
        props:{
            rider:Object
        },
        data() {
            return {
                active:'1'
            }
        },
        methods: {

        },
        mounted(){
        }
    }
</script>
<style>

</style>
